I got the following files from http://snaga.org/pgsql/cvsweb.cgi/php:
syslog.h
unistd.h
wsyslog.c

The followong files from http://www.two-sdg.demon.co.uk/curbralan/code/dirent/:
dirent.c
dirent.h
